package com.group3.group3.department.service;
/**
 * Created with IntelliJ IDEA.
 *
 * @Author: Tom
 * @Date: 2022/05/19/18:18
 * @Description:
 */

/**
 *@ClassName DepartmentService
 *@Description
 *@Author 王琛
 *@Date 2022/5/19 18:18
 @Version 1.0
 */


import com.group3.group3.department.entity.SearchDepartmentEntity;
import com.group3.group3.mybatis.entity.PtDepartmentEntity;
import com.group3.group3.mybatis.flexigrid.PadingRstType;
import com.group3.group3.mybatis.flexigrid.PagingBean;
import com.group3.group3.mybatis.ztree.ZtreeEntity;

import java.util.List;

public interface DepartmentService {

    PadingRstType<PtDepartmentEntity> getDepartmentInfoListByPage(SearchDepartmentEntity search, PagingBean paging);

    List<ZtreeEntity> getMenuZtreeListByDepartmentId(String depUuid);

    void addDepartmentById(PtDepartmentEntity entity);

    void saveMenuByDepartmentId(String depUuid, String menuIds);
}
